package com.kun.springbootorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.springbootorder.entity.Order;
import com.kun.springbootorder.entity.OrderMessage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kunkun
 * @since 2025-02-25
 */
public interface OrderMessageService extends IService<Order> {
    public Integer insertOrderMessage(OrderMessage orderMessage);

    public Integer updateStatus(Integer orderId,Boolean status);

    public List<OrderMessage> queryOrderMessagesByStatus(Boolean status);
}
